package com.hjw;

import com.hjw.service.UserService;
import com.hjw.service.UserServiceImpl;
import com.spring.HjwApplicationContext;

public class Test {
    public static void main(String[] args) {
        HjwApplicationContext applicationContext = new HjwApplicationContext(Config.class);
        UserService userService = (UserService) applicationContext.getBean("userService");
        userService.test();

    }
}
